package com.lib76.buildCode.model.vm;

import org.apache.commons.lang.StringUtils;

public class ClassFieldData {
	
	protected String name;
	protected String type;
	protected String value;
	protected String description;
	
	public ClassFieldData(){}
	
	public ClassFieldData(String name,String type,String value){
		this.name = name;
		this.type = type;
		this.value = value;
	}
	
	public ClassFieldData(String name,String type,String value,String description){
		this.name = name;
		this.type = type;
		this.value = value;
		this.description = description;
	}
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
	
	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getFirstCapitalName(){
		return StringUtils.capitalize(name);
	}
}
